#include "mainwindow.h"
#include "ui_mainwindow.h"

///
/// @param      parent      Widget parent object
///
/// Constructor to initialize the main gui window
MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    createActions();
}

///
/// Connects all event handlers with the gui
void MainWindow::createActions()
{
    connect(ui->actionDataCollector, SIGNAL(triggered()), this, SLOT(devDataCollector()));
}

///
/// Default destructor
MainWindow::~MainWindow()
{
    delete ui;
}


///
/// Test reciever that can test the data collector
void MainWindow::devDataCollector()
{
    qDebug() << "=== DataCollector - Begin";
    qDebug() << "=== DataCollector - End";
}
